package puzzeldoolhof;

import java.awt.Color;

public class Position 
{
	private int my_number;
	private Color my_color;

	public Position(int number, Color color)
	{
		my_color = color;
		my_number = number;
	}

	public String toString()
	{
		if(my_color == Color.WHITE )
		{
			return "vast";
		}
		
		if(my_color == Color.ORANGE )
		{
			return "doel";
		}
		return Integer.toString( my_number );
	}
	
	public boolean Equals()
	{
		return false;
	}
	
	public int hashCode()
	{
		return my_number;
	}
	
	public Color getColor()
	{
		return my_color;
	}
	
	public int getNummer()
	{
		return my_number;
	}
}
